package com.course.web.model;

import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.Min;
import java.time.LocalDate;
import java.util.Date;

/**
 * Created by Justin on 2017/6/13.
 */
@Data
@EqualsAndHashCode(of = {"id"})
public class AgendaInfoVM implements HasID {
    @Min(0)
    private int id;
    @Min(0)
    private final int studentId;
    @Min(0)
    private int courseId;
    private Date date;
    private LocalDate localDate;
}
